package com.demo.exce;

/**
 * @Author WaveHi
 * @Date 24/7/2021 下午 3:04
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description
 */
public class LogicOperatorDemo {

    public static void main(String[] args) {

        //定义变量
        int i1 = 10;
        int i2 = 20;

        //比较
        boolean b1 = (i1 > 1) && (i1-- > 10);
        System.out.println("b1 = " + b1);

    }

}
